package com.itheima.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.itheima.dao.UserDao;
import com.itheima.model.User;

@Service
public class UserService {
    @Autowired
    private UserDao userDao;

    public User getUser(){
        User user = userDao.getUser();
        return user;
    }

}
